// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

#include "OracleAlterViewStatement.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/OracleASTVisitor.h"

// @Override
void OracleAlterViewStatement::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleAlterViewStatement)))
  {
    acceptChild(visitor, name);
  }
  visitor->endVisit(SharedObject(OracleAlterViewStatement));
}

BOOL_ptr OracleAlterViewStatement::getEnable()
{
  return enable;
}

void OracleAlterViewStatement::setEnable(BOOL_ptr enable)
{
  this->enable = enable;
}

SQLName_ptr OracleAlterViewStatement::getName()
{
  return name;
}

void OracleAlterViewStatement::setName(SQLName_ptr name)
{
  this->name = name;
}

BOOL_ptr OracleAlterViewStatement::isCompile()
{
  return compile;
}

void OracleAlterViewStatement::setCompile(BOOL_ptr compile)
{
  this->compile = compile;
}
